package com.jindy.module.oaDepartTurnApply.mapper;

import java.util.List;
import com.jindy.module.oaDepartTurnApply.domain.SyOaDepartTurn;

/**
 * 离职交接申请Mapper接口
 * 
 * @author jindy
 * @date 2023-06-26
 */
public interface SyOaDepartTurnMapper 
{
    /**
     * 查询离职交接申请
     * 
     * @param id 离职交接申请主键
     * @return 离职交接申请
     */
    public SyOaDepartTurn selectSyOaDepartTurnById(Long id);

    /**
     * 查询离职交接申请列表
     * 
     * @param syOaDepartTurn 离职交接申请
     * @return 离职交接申请集合
     */
    public List<SyOaDepartTurn> selectSyOaDepartTurnList(SyOaDepartTurn syOaDepartTurn);

    /**
     * 新增离职交接申请
     * 
     * @param syOaDepartTurn 离职交接申请
     * @return 结果
     */
    public int insertSyOaDepartTurn(SyOaDepartTurn syOaDepartTurn);

    /**
     * 修改离职交接申请
     * 
     * @param syOaDepartTurn 离职交接申请
     * @return 结果
     */
    public int updateSyOaDepartTurn(SyOaDepartTurn syOaDepartTurn);

    /**
     * 删除离职交接申请
     * 
     * @param id 离职交接申请主键
     * @return 结果
     */
    public int deleteSyOaDepartTurnById(Long id);

    /**
     * 批量删除离职交接申请
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteSyOaDepartTurnByIds(Long[] ids);
}
